package com.njbdqn.proxySpring.vo;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Demo {
	public static void main(String[] args) {
		ApplicationContext ac=new ClassPathXmlApplicationContext("spring.xml");
		Custom ct=(Custom) ac.getBean("cm");
		ct.eat();
	}
}
